<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<!-- 直栈的使用和理解 -->

	<s:debug></s:debug>
	<hr>
	直接获取的方式：
	<br> ProductId: ${productId }
	<br>
	<br> ProductName: ${productName }
	<br>
	<br> ProductDesc: ${productDesc }
	<br>
	<br> ProductPrice: ${productPrice }
	<hr>
	获取设置的参数：在栈顶
	<br> ProductId:
	<s:property value="[0].ProductId" />
	<br>
	<br> ProductName:
	<s:property value="[0].ProductName" />
	<br>
	<br> ProductDesc:
	<s:property value="[0].ProductDesc" />
	<br>
	<br> ProductPrice:
	<s:property value="[0].ProductPrice" />
	<hr>
	获取输入的参数：
	<br> ProductId:
	<s:property value="[1].ProductId" />
	<br>
	<br> ProductName:
	<s:property value="[1].ProductName" />
	<br>
	<br> ProductDesc:
	<s:property value="[1].ProductDesc" />
	<br>
	<br> ProductPrice:
	<s:property value="[1].ProductPrice" />


</body>
</html>